package demo;

/**
 * @Author: WWQ
 * @Date: 2019/4/3 14:18
 * @Version 1.0
 */
public class FilterEmployeeForAge implements  MyPredicate<Employee> {

    @Override
    public Boolean test(Employee employee) {
        return employee.getAge()>=20;
    }
}
